Implementing close prevention with changes. Not quite working. Save button triggered without being clicked.
Edit Product: